//仓库管理
<template>
	<view style="margin: 50rpx;">
		<view style="display: flex;flex-wrap: wrap;">
			<view style="display: flex; flex-direction: column; align-items: center;padding: 50rpx;" v-for="init in info" @click="topurl(init.url)">
				<image :src="init.img" style="width: 40rpx;height: 40rpx;"></image>
				<text>{{init.name}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:[{
					url:"/pages/warehouse/purchasing",
					img:"../../static/cw.png",
					name:"采购管理"
				},{
					url:"/pages/warehouse/warehouseRuku",
					img:"../../static/cw.png",
					name:"入库管理"
				},{
					url:"/pages/warehouse/lnventory",
					img:"../../static/cw.png",
					name:"库存管理"
				},{
					url:"/pages/warehouse/outbound",
					img:"../../static/cw.png",
					name:"出库管理"
				},{
					url:"/pages/warehouse/lend",
					img:"../../static/cw.png",
					name:"借出管理"
				}],
			};
		},
		methods:{
			//跳转页面
			topurl(url){
				uni.navigateTo({
					url:url
				})
			}
		}
	}
</script>

<style lang="less">

</style>